<html>
<head>
<meta name="layout" content="main" />
<title>Login Page</title>
<style type="text/css">
label {
	width: 80px;
	padding-left: 90px;
}
</style>
</head>
<body>
	<div style="height: 535px; background: #6699CC; margin-top: -25px;">
		<div class="message" style="height: auto; margin: 30px auto 0; width: 450px;">
			<g:if test="${session.user}">
				<g:if test="${flash.message}">

					${flash.message}

				</g:if>

			</g:if>
			<g:else>


				${flash.message}
			</g:else>

		</div>
		<g:form controller="user" action="login">

			<div style="height: auto; margin: 40px auto; width: 400px;">
				<label style="margin-top: 10px;">UserName:</label><input type="text"
					name="username" /> <label style="margin-top: 10px;">Password:</label><input
					type="password" name="password" /> <input
					style="margin-left: 250px; margin-top: 10px;" type="submit"
					value="Login">
			</div>
		</g:form>


	</div>
</body>
</html>